<%@page language="java" contentType="text/html; charset=UTF-8"
        pageEncoding="UTF-8" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>

    <script src="https://cdn.bootcss.com/vue/2.6.10/vue.js"></script>

    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">

    <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>

    <meta http-equiv="Content-Type" content="text/html"; charset="UTF-8">
    <title>Title</title>
</head>
<body>

<table class="table table-striped table-bordered table-hover text-center">
    <thead class="text-center">
    <td>学号</td>
    <td>性别</td>
    <td>班级</td>
    <td>出生年月</td>
    <td>家庭住址</td>
    <td>邮编</td>
    <td>电话号码</td>
    <td>出生日期</td>
    <td>备注</td>
    <td>操作</td>
    </thead>
    <c:forEach items="${result}" var="n">
        <tr>
            <td>${n.stuId}</td>
            <td>${n.sex}</td>
            <td>${n.clazz}</td>
            <td>${n.birth}</td>
            <td>${n.address}</td>
            <td>${n.postalcode}</td>
            <td>${n.phone}</td>
            <td>${n.begintime}</td>
            <td>${n.remark}</td>
            <td><a href="/demo/Clazz/del?clazz=${n.clazz}">删除</a> <a href="/demo/Clazz/gotoedit?clazzId=${n.clazz}">修改</a></td>
        </tr>
    </c:forEach>
</table>

<button class="btn btn-primary btn-block"><a href="/demo/Clazz/gotoadd">增加</a></button>

<c:forEach items="${name}" var="n">
    ${n.name}
</c:forEach>

</body>
</html>
